import app from "./app/index";
import ad from "./ad/index";
import event from "./event/index";
import files from "./files/index";
import image from "./image/index";
import loading from "./loading/index";
import modal from "./modal/index";
import nav from './nav/index';
import redux from './reduxjs/index';
import Request from "./request/index";
import storage from "./storage/index";
import toast from "./toast/index";
import * as utils from "./utils/index";

interface Toolkit {
    app: typeof app;
    ad: typeof ad;
    event: typeof event;
    files: typeof files;
    image: typeof image;
    loading: typeof loading;
    modal: typeof modal;
    nav: typeof nav;
    redux: typeof redux;
    Request: typeof Request;
    storage: typeof storage;
    toast: typeof toast;
    utils: typeof utils;
}

const toolkit: Toolkit = {
    app,
    ad,
    event,
    files,
    image,
    loading,
    modal,
    nav,
    redux,
    Request,
    storage,
    toast,
    utils,
};

export default toolkit;
